package com.waigoulin.infrastructure.dao;

import com.waigoulin.infrastructure.dao.po.PayOrder;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @FileName IOrderDao
 * @Description 订单持久化层（基础设施层）操作接口
 * @Author waigoulin
 * @date 2025-07-26
 **/
@Mapper
public interface IOrderDao {

    void insert(PayOrder payOrder);

    PayOrder queryUnPayOrder(PayOrder payOrderRequest);

    void updateOrderPayInfo(PayOrder payOrder);

    void changeOrderPaySuccess(PayOrder payOrder);

    boolean changeOrderClose(String orderId);

    List<String> queryTimeoutCloseOrderList();

    List<String> queryNoPayNotifyOrder();
}
